package com.yzt.message.db.dao;

import androidx.lifecycle.LiveData;
import androidx.room.Dao;
import androidx.room.Query;

import com.yzt.message.db.model.ConversationEntity;


@Dao
public interface ConversationDao {
    @Query("SELECT * FROM RCT_CONVERSATION WHERE target_id=:id")
    LiveData<ConversationEntity> getUserById(String id);
}
